package com.kgc.test.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.kgc.test.UserService;

@Service
public class UserServiceImpl implements UserService {
    public boolean login(String name, String pwd) {
        if("admin".equalsIgnoreCase(name)&& "admin".equalsIgnoreCase(pwd))
            return true;
        else
            return false;
    }
}
